package com.wanlian.jpush.push.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.wanlian.util.StringUtil;

/**
 * 通知
 * 
 * @author lenovo
 *
 */
@JsonInclude(Include.NON_EMPTY)
public class NotificationBase implements ICheckable {
	private String alert;

	public String getAlert() {
		return alert;
	}

	public void setAlert(String alert) {
		this.alert = alert;
	}

	@Override
	public boolean checkIsAble() {
		if (StringUtil.hasValue(alert)) {
			return true;
		}
		else{
			return false;
		}
	}
}
